getCurrentFraction

@FloatRange(from = 0.0, to = 1.0)
open fun getCurrentFraction(): Float(source)

Returns the progress as previously set by fraction in setInsetsAndAlpha

Return

the progress of the animation, where 0 is fully hidden and 1 is fully shown.

Note: this value represents raw overall progress of the animation i.e. the combined progress of insets and alpha.